home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 5 / Apprentice-Release5.iso / Source Code / C / Applications / RandomDot 1.1.0 / READ ME < prev   
Encoding:
Text File  |  1995-06-30  |  4.5 KB  |  111 lines  |  [TEXT/R*ch]

  1. Table Of Contents
  2. -----------------
  3. Introduction
  4. Using SIRDS
  5. How to See SIRDS
  6. About This Macintosh Program
  7. Fiction About SIRDS
  8.  
  9. Introduction
  10. ------------
  11. This program generates a "Single Image Random Dot Stereogram, 
  12. or SIRDS, from a Macintosh PICT file or a portable grey-map 
  13. file that describes a 3D scene.  A SIRDS is an image which, 
  14. when viewed in the appropriate way, appears to the brain as a 
  15. 3D scene. The image is a stereogram composed of seemingly random 
  16. dots.  The program incorporates a new, simple, and symmetric 
  17. algorithm for generating such images from a solid model.  
  18. It improves on previous algorithms in several ways: it is 
  19. symmetric and hence free from directional left-to-right or 
  20. right-to-left bias, it corrects a slight distortion in the 
  21. rendering of depth, it removes hidden parts of surfaces, 
  22. and it also eliminates a type of artifact that we call an "echo."
  23.  
  24. The program is described in Working Paper 1993/2 of the 
  25. Department of Computer Science, University of Waikato, Hamilton, 
  26. New Zealand.  (This report can be obtained from 
  27. ftp.cs.waikato.ac.nz.)
  28.  
  29. Using SIRDS
  30. -----------
  31. SIRDS reads and writes PICT files and 256 level PGM files.  
  32. A level of 0 (black), corresponds to a z-level of 0.0 
  33. (the far plane) through to level 255 (white) corresponding 
  34. to a z-level of 1.0 (the near plane).
  35.  
  36. To see your first Single Image Random Dot Stereogram, use 
  37. the 'Open' menu item to select a PICT or a PGM file.  
  38. A few examples come with the distribution, mainly the 
  39. examples given in the academic paper referenced above.
  40.  
  41. As soon as you have selected a file, the program will 
  42. automatically generate a SIRDS based on their symmetric 
  43. algorithm -- with hidden line removal. This mode is 
  44. termed the 'linked (h/s)' approach in their paper.This 
  45. Macintosh program only generates stereograms with hidden 
  46. lines removed.
  47.  
  48. 'mu' is the distance that the near plane is closer to the 
  49. eyes than the far plane.  By default this value is 0.33 
  50. (~= 1/3) This Macintosh program does not allow you to change 'mu'.
  51.  
  52. You can save the SIRDS as a PICT file and you can print it.
  53.  
  54. Shimmering is approximated by choosing the 'Shimmer' menu choice.  
  55. This will take the gray scale SIRDS and animate the palette. This
  56. only works if your display is set for 256 colors.
  57. {An IBM-PC program is also available, this only demonstrates 
  58. the SHIMMERing effect and is called "shimmer.zip", available at 
  59. the above site}
  60.  
  61. How to See SIRDS
  62. ----------------
  63. This program generates stereograms to be viewed while going 
  64. wall-eyed (or boss-eyed), this is where you focus twice past 
  65. the screen (look for the reflection of your nose...).  The two 
  66. dots at bottom of the window aid in viewing the object.
  67.  
  68. Looking at the two dots, try and focus past the screen; you 
  69. will initially see 4 dots, if you look further away these 
  70. dots will converge into 3.  As you stare at the centre dot 
  71. an object will slowly appear (The time required for this 
  72. step varies on the person, from 1 second to 10 minutes).  
  73. {If you are equally short-sighted in both eyes, removal of 
  74. your glasses may help...}
  75.  
  76. I find that Cup and Hemisphere are the easiest files for a 
  77. first time viewer to see.
  78.  
  79. The 'Shimmering' option also helps to 'lock onto' the image, 
  80. as the cycling colours do not allow you to focus on the 
  81. plane of the screen.
  82.  
  83. About This Macintosh Program
  84. ----------------------------
  85. This program is by David Phillip Oster. Since it is based on 
  86. work placed in the open literature by Harold W. Thimbleby, 
  87. Stuart Inglis, & Ian H. Witten, the source code is available 
  88. for any use with only the following restriction:
  89.  
  90. you may use this source code any way you like, but you may 
  91. not forbid anyone else from also using the source code.
  92.  
  93. The source is available at: ftp://ftp.netcom.com/~ftp/pub/os/oster/SIRDS
  94.  
  95. This program compiles under THINK C 7, and Metrowerks.
  96.  
  97. This program is a fat binary, so it runs at full speed on 
  98. 68000 and PowerPC based Macintoshs. It has Balloon Help. This 
  99. program runs best if you set your display to 'Millions of Colors' 
  100. or to '256 colors'. Shimmering only works in 256 colors.
  101.  
  102. Fiction about SIRDS
  103. -------------------
  104. I recommend the novel "Snow Crash" by Neal Stephenson, Bantam Books, 
  105. 1992, a cyberpunk novel about a cyberspace designed according to the 
  106. Macintosh User Inteface Guidelines. The plot involves patterns that 
  107. look to the uninitiated like mere white noise, but the trained mind 
  108. finds meaning so compelling in the patterns, that the human mind 
  109. actually crashes, becomes incapable of doing anything else, after 
  110. perceiving the meaning in the patterns.
  111.